package org.jeecg.modules.business.doc.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 入库单-物料
 * @Author: jeecg-boot
 * @Date: 2023-07-31
 * @Version: V1.0
 */
@ApiModel(value = "wms_in_receipt_material对象", description = "入库单-物料")
@Data
@TableName("wms_in_receipt_material")
public class WmsInReceiptMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 物料id
     */
    @Excel(name = "物料", width = 15, dictTable = "wms_basic_material", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "物料id")
    private java.lang.String wmsBasicMaterialId;
    /**
     * 批次号
     */
    @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private String batchCode;
    /**
     * 应收数量
     */
    @Excel(name = "应收数量", width = 15)
    @ApiModelProperty(value = "应收数量")
    private java.math.BigDecimal receivableQuantity;
    /**
     * 库存数量
     */
    @Excel(name = "入库数量", width = 15)
    @ApiModelProperty(value = "入库数量")
    private java.math.BigDecimal warehouseQuantity;
    /**
     * 库存单位
     */
    @Excel(name = "库存单位", width = 15, dictTable = "wms_basic_unit", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库存单位")
    private String wmsBasicUnitId;
    /**
     * 仓库
     */
    @Excel(name = "仓库", width = 15, dictTable = "wms_basic_warehouse", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "仓库")
    private String wmsBasicWarehouseId;
    /**
     * 库区
     */
    @Excel(name = "库区", width = 15, dictTable = "wms_basic_warehouse_area", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库区")
    private String wmsBasicWarehouseAreaId;
    /**
     * 库位
     */
    @Excel(name = "库位", width = 15, dictTable = "wms_basic_warehouse_area_location", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库位")
    private String wmsBasicWarehouseAreaLocationId;
    /**
     * 辅数量
     */
    @Excel(name = "辅数量", width = 15)
    @ApiModelProperty(value = "辅数量")
    private java.math.BigDecimal assistQuantity;
    /**
     * 辅单位
     */
    @Excel(name = "辅单位", width = 15, dictTable = "wms_basic_unit", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "辅单位")
    private String unitAssistId;
    /**
     * 钢卷号
     */
    @Excel(name = "钢卷号", width = 15)
    @ApiModelProperty(value = "钢卷号")
    private String steelCoilNumber;
    /**
     * 外径
     */
    @Excel(name = "外径", width = 15)
    @ApiModelProperty(value = "外径")
    private java.math.BigDecimal outsideDiameter;
    /**
     * 宽度
     */
    @Excel(name = "宽度", width = 15)
    @ApiModelProperty(value = "宽度")
    private java.math.BigDecimal width;
    /**
     * 长度
     */
    @Excel(name = "长度", width = 15)
    @ApiModelProperty(value = "长度")
    private java.math.BigDecimal length;
    /**
     * 厚度
     */
    @Excel(name = "厚度", width = 15)
    @ApiModelProperty(value = "厚度")
    private java.math.BigDecimal thickness;
    /**
     * 牌号
     */
    @Excel(name = "牌号", width = 15)
    @ApiModelProperty(value = "牌号")
    private String shopSign;
    /**
     * 外观等级
     */
    @Excel(name = "外观等级", width = 15)
    @ApiModelProperty(value = "外观等级")
    private String appearanceGrade;
    /**
     * 铁损
     */
    @Excel(name = "铁损", width = 15)
    @ApiModelProperty(value = "铁损")
    private String ironLoss;
    /**
     * 实测片厚
     */
    @Excel(name = "实测片厚", width = 15)
    @ApiModelProperty(value = "实测片厚")
    private java.math.BigDecimal measuredThickness;
    /**
     * 实测铁损
     */
    @Excel(name = "实测铁损", width = 15)
    @ApiModelProperty(value = "实测铁损")
    private String measuredIronLoss;
    /**
     * 硅钢等级
     */
    @Excel(name = "硅钢等级", width = 15)
    @ApiModelProperty(value = "硅钢等级")
    private String siliconGrade;
    /**
     * 刻痕等级
     */
    @Excel(name = "刻痕等级", width = 15)
    @ApiModelProperty(value = "刻痕等级")
    private String score;
    /**
     * 原始净重
     */
    @Excel(name = "原始净重", width = 15)
    @ApiModelProperty(value = "原始净重")
    private String originalWeight;
    /**
     * 实称净重
     */
    @Excel(name = "实称净重", width = 15)
    @ApiModelProperty(value = "实称净重")
    private String measuredWeight;
    /**
     * 载具
     */
    @Excel(name = "载具", width = 15)
    @ApiModelProperty(value = "载具")
    private String vehicle;
    /**
     * 序列号
     */
    @Excel(name = "序列号", width = 15)
    @ApiModelProperty(value = "序列号")
    private String serialNumber;
    /**
     * 销售订单号
     */
    @Excel(name = "销售订单号", width = 15)
    @ApiModelProperty(value = "销售订单号")
    private String saleOrderNumber;
    /**
     * 销售订单行号
     */
    @Excel(name = "销售订单行号", width = 15)
    @ApiModelProperty(value = "销售订单行号")
    private String saleOrderLineNumber;
    /**
     * 生产工单号
     */
    @Excel(name = "生产工单号", width = 15)
    @ApiModelProperty(value = "生产工单号")
    private String productNumber;
    /**
     * 生产工单行号
     */
    @Excel(name = "生产工单行号", width = 15)
    @ApiModelProperty(value = "生产工单行号")
    private String productLineNumber;
    /**
     * 上游单据
     */
    @Excel(name = "上游单据", width = 15)
    @ApiModelProperty(value = "上游单据")
    private String upstreamDocuments;
    /**
     * 上游单号
     */
    @Excel(name = "上游单号", width = 15)
    @ApiModelProperty(value = "上游单号")
    private String upstreamNumber;
    /**
     * 上游行号
     */
    @Excel(name = "上游行号", width = 15)
    @ApiModelProperty(value = "上游行号")
    private String upstreamLineNumber;
    /**
     * 来源系统单号
     */
    @Excel(name = "来源系统单号", width = 15)
    @ApiModelProperty(value = "来源系统单号")
    private String originalSystemNumber;
    /**
     * 来源系统行号
     */
    @Excel(name = "来源系统行号", width = 15)
    @ApiModelProperty(value = "来源系统行号")
    private String originalSystemLineNumber;
    /**
     * 已退货数量
     */
    @Excel(name = "已退货数量", width = 15)
    @ApiModelProperty(value = "已退货数量")
    private String returnedQuantity;
    /**
     * 已退货数量（辅单位）
     */
    @Excel(name = "已退货数量（辅单位）", width = 15)
    @ApiModelProperty(value = "已退货数量（辅单位）")
    private String returnedQuantityAssist;
    /**
     * 应收数量（辅数量）
     */
    @Excel(name = "应收数量（辅数量）", width = 15)
    @ApiModelProperty(value = "应收数量（辅数量）")
    private String receivableQuantityAssist;
    /**
     * 入库单id
     */
    @ApiModelProperty(value = "入库单id")
    private String wmsInReceiptId;
    /**
     * 逻辑删除
     */
    @ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
    @ApiModelProperty(value = "规格型号")
    private String specification;
    @ApiModelProperty(value = "毛重")
    private BigDecimal grossWeight;
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否合卷")
    private String isMergeRoll;

    @ApiModelProperty(value = "投入批次号")
    private String inputBatchCode;

    @ApiModelProperty(value = "母卷批次号")
    private String motherBatchCode;

    @ApiModelProperty(value = "柱型")
    private String pillar;

    @ApiModelProperty(value = "理料方向")
    private String materialDirection;

    @ApiModelProperty(value = "台号")
    private String stationNum;

    @ApiModelProperty(value = "产品型号")
    private String productModel;

    @ApiModelProperty(value = "产品类型")
    private String productType;

    @ApiModelProperty(value = "建议位置")
    private String suggestedLocation;

    @ApiModelProperty(value = "计划生产工单号")
    private String planProductOrderNumber;
    @ApiModelProperty("计划生产站点")
    private String planProductSite;
    /**
     * 库存数量
     */
    @Excel(name = "入库数量（辅单位）", width = 15)
    @ApiModelProperty(value = "入库数量（辅单位）")
    private java.math.BigDecimal warehouseQuantityAssist;
    @ApiModelProperty(value = "鞍座号")
    private String position;
    @ApiModelProperty(value = "位置")
    private String location;

    @ApiModelProperty(value = "载具编号")
    private String vehicleCode;

    @ApiModelProperty("客户单号")
    private String customerOrderNumber;

    @ApiModelProperty("入库任务物料id")
    private String wmsInReceiptTaskMaterialId;

    @ApiModelProperty(value = "客户编码")
    private String customerCode;

    @ApiModelProperty(value = "产出批次号")
    private String outputBatchCode;

    @ApiModelProperty("车号")
    private String vehicleNumber;

    @ApiModelProperty("臂号")
    private String armNo;

    @ApiModelProperty("卷料收卷顺序")
    private Integer sequence;

    /**
     * 工厂
     */
    @ApiModelProperty("工厂")
    private String factory;
}

